package com.qingcloud.adminbackend.entity.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 作业组件实例关系表
 * </p>
 *
 * @author wangjinnan
 * @since 2021-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("df_job_component_instance_relation")
public class JobComponentInstanceRelation implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 自增主键
     */
    @TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "自增主键", example = "1")
    private Integer id;

    /**
     * 作业ID
     */
    @ApiModelProperty(value = "作业ID", example = "1")
    private Integer jobId;

    /**
     * 源组件ID
     */
    @ApiModelProperty(value = "源组件ID", example = "1")
    private Integer fromId;

    /**
     * 目的组件ID
     */
    @ApiModelProperty(value = "目的组件ID", example = "1")
    private Integer toId;


}
